package com.fitso.model.bean.measure.volume;

import java.math.BigDecimal;

import com.fitso.model.bean.measure.Measure;

/**
 * <p>
 * Base unit is MilliLiter.
 * </p>
 * 
 * @author timothystorm
 * 
 */
public abstract class Volume extends Measure {
	private static final long serialVersionUID = 1L;
	public Volume() {
		super();
	}
	
	public Volume(Integer value){
		super(value);
	}
	
	public Volume(Double value){
		super(value);
	}

	public Volume(BigDecimal value) {
		super(value);
	}

	public Volume(Volume volume) {
		convert(volume);
	}

	public Volume add(Integer volume) {
		return (Volume) super.add(volume);
	}

	public Volume add(Double volume) {
		return (Volume) super.add(volume);
	}

	public Volume add(Volume volume) {
		return (Volume) super.add(volume);
	}

	public Volume convert(Volume volume) {
		return (Volume) super.convert(volume);
	}

	public Volume divide(Integer volume) {
		return (Volume) super.divide(volume);
	}

	public Volume divide(Double volume) {
		return (Volume) super.divide(volume);
	}

	public Volume divide(Volume volume) {
		return (Volume) super.divide(volume);
	}

	public Volume subtract(Integer volume) {
		return (Volume) super.subtract(volume);
	}

	public Volume subtract(Double volume) {
		return (Volume) super.subtract(volume);
	}

	public Volume minus(Volume volume) {
		return (Volume) super.subtract(volume);
	}

	public Volume multiply(Integer volume) {
		return (Volume) super.multiply(volume);
	}

	public Volume multiply(Double volume) {
		return (Volume) super.multiply(volume);
	}

	public Volume multiply(Volume volume) {
		return (Volume) super.multiply(volume);
	}

	protected Class<Volume> getMeasure() {
		return Volume.class;
	}
}